<template>
  <div id="app" class="outsider">
    <el-card class="index-card">
      <div slot="header">
        广联运营平台
      </div>
      <ul>
        <li>
          <a href="../customer/role.html" target="_self">
            角色管理
          </a>
        </li>
        <li>
          <a href="../customer/user.html" target="_self">
            用户管理
          </a>
        </li>
      </ul>
      <el-button type="primary" @click="gogogo">To Customer Home Page1</el-button>
      <el-button type="primary" plain @click="tototo">To Customer Home Page2</el-button>
    </el-card>
  </div>
</template>

<script>

export default {
  name: 'App',
  methods: {
    gogogo() {
      location.assign('../customer/menu.html')
    },
    tototo() {
      location.assign('../customer/department.html')
    }
  }
}
</script>

<style scoped>
.outsider{
  background-color: #FFF;
  padding: 20px 0px 40px 0px;
  /* margin: 20px 20px; */
}
</style>
